package com.huike.clues.mapper;


import com.huike.clues.domain.TbClue;
import com.huike.clues.domain.TbClueTrackRecord;
import com.huike.clues.domain.vo.ClueTrackRecordVo;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * 线索跟进记录Mapper接口
 * @date 2021-04-19
 */
@Repository
public interface TbClueTrackRecordMapper {

    //线索表中修改数据
    void updateClue(@Param("tbClue") TbClue tbClue);

    //跟进表添加数据
    void addClueTrackRecord(@Param("tbClueTrackRecord") TbClueTrackRecord tbClueTrackRecord);

    //查询线索跟进
    List<TbClueTrackRecord> select(@Param("clueId") Long clueId);
}
